package com.stx.service.impl;

import java.util.List;

import com.stx.dao.UserCollectionDao;
import com.stx.entity.User_collection;
import com.stx.service.UserCollectionService;

public class UserCollectionServiceImpl implements UserCollectionService {

	private UserCollectionDao ucd;

	public UserCollectionDao getUcd() {
		return ucd;
	}

	public void setUcd(UserCollectionDao ucd) {
		this.ucd = ucd;
	}

	@Override
	public void addCollection(User_collection user_collection) {
		ucd.addCollection(user_collection);
	}

	@Override
	public void delCollection(User_collection user_collection) {
		ucd.delCollection(user_collection);
	}

	@Override
	public User_collection getCollection(User_collection user_collection) {
		return ucd.getCollection(user_collection);
	}

	@Override
	public List getNewCollection() {
		return ucd.getNewCollection();
	}
	
	
}
